//
//  awardDetailCell.m
//  JiCaiBao
//
//  Created by rgx on 16/11/11.
//  Copyright © 2016年 rgx. All rights reserved.
//

#import "awardDetailCell.h"

@implementation awardDetailCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)flashAwardDetailCell:(awardDetailData *)data{
    
    if (data) {
        
        self.nameLab.text = [NSString stringWithFormat:@"%@",data.name];
        self.countLab.text = [NSString stringWithFormat:@"%@",data.count];
        self.moneyLab.text = [NSString stringWithFormat:@"%@",data.money];
        
        self.nameLab.textColor = ColorWithRGB(223, 157, 100);
        self.countLab.textColor = ColorWithRGB(119, 136, 153);
        self.moneyLab.textColor = ColorWithRGB(220, 20, 60);
    }
    
}
@end
